<template>
  <div id="nav">
    <router-view />
    <van-tabbar route>
      <van-tabbar-item
        replace
        to="/"
        icon="home-o"
      >
        首页
      </van-tabbar-item>
      <van-tabbar-item
        replace
        to="/mine"
        icon="orders-o"
      >
        课程页
      </van-tabbar-item>
      <van-tabbar-item
        replace
        to="/profile"
        icon="manager-o"
      >
        我的
      </van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<style lang="scss">
*{
  margin:0;
  padding:0;
}
</style>
